package icms.struts.action;
import org.apache.struts.action.ActionServlet;
import org.apache.struts.actions.DispatchAction;

import icms.service.CmsServiceGet;
import icms.service.ICmsServiceGet;

public class BaseAction extends DispatchAction{
	private ICmsServiceGet cms = new CmsServiceGet();
	
	protected ICmsServiceGet getCms(){
		if (cms == null){
			cms = new CmsServiceGet();
		}
		return cms;
	}
	
	public void setServlet (ActionServlet actionServlet){
		super.setServlet(actionServlet);
	}
}
